<html lang="en">
    <head>
        <meta charset="utf-8">


	<!-- (en) Add your meta data here -->
	<!-- (de) Fuegen Sie hier ihre Meta-Daten ein -->
	<link href="<?php echo $basePath; ?>/admin_media/css/layout_3col_standard.css" rel="stylesheet" type="text/css"/>
	<!--[if lte IE 7]>
	<link href="<?php echo $basePath; ?>/admin_media/css/patches/patch_3col_standard.css" rel="stylesheet" type="text/css" />
	<![endif]-->

	<script type="text/javascript" src="<?php echo $basePath; ?>/library/jquery/jquery.js"></script>
	<link type="text/css" href="<?php echo $basePath; ?>/library/jquery-ui/themes/redmond/jquery-ui.css" rel="stylesheet" />	
	<script type="text/javascript" src="<?php echo $basePath; ?>/library/jquery-ui/ui/jquery-ui-all-in-one.js"></script>


<script type="text/javascript">

<?php if(isset($close)): ?>

window.opener.location.href = '<?php echo $opener_url; ?>';
self.close();

<?php endif; ?>

</script>

<body>

<div id="main">

	<!-- begin: main content area #main -->
	<div class="page_margins">
	  <div class="page" id="main_content">

		  <!-- begin: #col3 static column -->
		  <div id="col3">

			<div id="col3_content" class="clearfix">
			  <!-- skiplink anchor: Content -->
				<!--#######################-->
				<!-- BEGIN: Module content -->
				<!--#######################-->
				<div id="module_content" role="main">
				    <a name="content"></a>


<form name="setup" id="setup" method="post" action="<?php echo $basePath; ?>/<?php echo $adminAreaToken; ?>/user-select/submit" accept-charset="utf-8">

    <input type="hidden" name="page" value="<?php echo $page; ?>" />
    <input type="hidden" name="callback_num" value="<?php echo $callback_num; ?>" />

    <h1 id="page_head">Select user</h1>

    <?php if(count($user_result) > 0): ?>

   

  <input role="button"
     aria-labelledby="sub"
     type="submit"
     name="submit
     id="submit"
     value="Submit" />

    <ul id="node-list">
    <?php foreach( $user_result as $user): ?>
        <li <?php if($user['id_status']==0): ?>
            class="status-trash" title="trash"
            <?php elseif($user['id_status']==100): ?>
            class="status-inactive" title="inactive"
            <?php elseif($user['id_status']==200): ?>
            class="status-active" title="active"
            <?php endif; ?>>

            <input <?php if($input_type == 'checkbox'): ?>
                 type="checkbox" name="_id_user[]"
               <?php else: ?>
                 type="radio" name="_id_user"
               <?php endif; ?>
                 value="<?php echo $user['id_user']; ?>" />

      <?php echo $user['user_lastname']; ?> <?php echo $user['user_forename']; ?> (<?php echo $user['user_login']; ?>)

            </li>
    <?php endforeach; ?>
    </ul>

  <input role="button"
         aria-labelledby="sub"
         type="submit"
         name="submit
         id="submit"
     value="Submit" />

</form>

<?php  //echo $this->paginationControl($this->paginator, 'Sliding', 'paginator-slide'); ?>

    <?php endif; ?>



				</div>
				<!--#####################-->
				<!-- END: Module content -->
				<!--#####################-->
			</div>

			<div id="ie_clearing">&nbsp;</div>
			<!-- End: IE Column Clearing -->
		  </div>
		  <!-- end: #col3 -->
	  </div>
	</div>
	
	<!-- end: #main -->

	<!-- begin: #footer -->
	<div id="footer">
		<div class="page_margins">
			<div class="page">
			  GeoContexter <br />Layout based on <a href="http://www.yaml.de/en">YAML</a>
			</div>
		</div>
	</div>
	<!-- end: #footer -->

</div>
</body>
</html>


